@extends('_layouts.base')

{{--头部CSS--}}
@section('head-css')
    <link rel="stylesheet" href="{{ asset('assets/css/fonts/linecons/css/linecons.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/css/fonts/fontawesome/css/font-awesome.min.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/css/bootstrap.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/css/xenon-core.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/css/xenon-forms.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/css/xenon-components.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/css/xenon-skins.css') }}">
    <link rel="stylesheet" href="{{ asset('assets/css/custom.css') }}">
    @stop

{{--头部JS--}}
@section('head-js')
    <script src="{{ asset('assets/js/jquery-1.11.1.min.js') }}"></script>
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    @stop

{{--body样式追加--}}
@section('body-class')class="page-body"@stop

{{--底部JS--}}
@section('after-body')
    <script src="{{ asset('assets/js/bootstrap.min.js') }}"></script>
    <script src="{{ asset('assets/js/TweenMax.min.js') }}"></script>
    <script src="{{ asset('assets/js/resizeable.js') }}"></script>
    <script src="{{ asset('assets/js/joinable.js') }}"></script>
    <script src="{{ asset('assets/js/xenon-api.js') }}"></script>
    <script src="{{ asset('assets/js/xenon-toggles.js') }}"></script>
    <script src="{{ asset('assets/js/jquery-validate/jquery.validate.min.js') }}"></script>
    <script src="{{ asset('assets/js/toastr/toastr.min.js') }}"></script>
    <script src="{{ asset('assets/js/xenon-custom.js') }}"></script>
    <script src="{{ asset('js/notification.js') }}"></script>
    <script type="text/javascript">
        var baseUrl = $('meta[name="base-url"]').attr('content');
        var csrfToken = $('meta[name="csrf-token"]').attr('content');
        $(window).ready(function () {
            readMsgCount();
            setInterval(function () {
                readMsgCount();
            }, 3000)
        });
    </script>
    @stop